@import "variables";

score-input {
  .toolbar {
    position: relative;
    background-color: #fff;
  }
  .title-bar {
    height: pxTorem(90px);
    padding: 0px pxTorem(20px);
    .toolbar-title {
      position: absolute;
      left: 0;
      right: 0;
      text-align: center;
      @include font-dpr(34px);
      font-weight: 400;
      color: color($h5, c2);
    }
  }

  .show {
    .toggle-icon {
      &:before {
        content: "\E690";
      }
    }
    .seed-toolbar-nav {
      display: block;
      max-height: pxTorem(180);
    }
  }

  .seed-toolbar-nav {
    display: none;
  }

  seed-toolbar-nav {
    .seed-toolbar-nav {
      position: absolute;
      z-index: 11;
      overflow: hidden;
      width: 100%;
      height: pxTorem(180px);
      max-height: 0;
      padding: 0 pxTorem(50);
      line-height: pxTorem(90px);
      @include font-dpr(34px);
      @include set-color(c2);
      background: color($h5, c10);
      opacity: .95;
      transition-property: all;
      transition-duration: 0.6s;
      transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
      &.fold {
        max-height: pxTorem(90px);
      }
      a {
        float: left;
        width: 25%;
        text-align: center;
        &.current {
          @include set-color(c1);
        }
      }
    }
  }
  .toggle-icon {
    position: absolute;
    right: pxTorem(20);

    font-size: 2.3rem;
    &:before {
      content: "\E68E";
    }
  }

  .score-input {
    .info-wrap {
      padding: pxTorem(50) pxTorem(30) pxTorem(30) pxTorem(30);
    }
    header {
      margin-top: pxTorem(15);

      background-color: #fff;
    }
    .avatar {
      margin-right: pxTorem(18);
      img {
        width: pxTorem(80);
        height: pxTorem(80);
        border-radius: 50%;

      }

    }
    .basic-info {
      flex: 1;
      .nick {
        @include font-dpr(26px);
        color: color($h5, c2);
      }
      p {
        text-align: center;
        span {
          display: block;
          color: color($h5, c2);
          @include font-dpr(30px);
        }
        em {
          color: color($h5, c3);
          @include font-dpr(26px);
        }
      }
      .body-info {
        margin-top: pxTorem(10);
      }
    }

    .test-content-select {
      height: pxTorem(100);
      padding: 0 pxTorem(30);
      &:after {
        right: pxTorem(20);
      }
      select {
        margin-right: pxTorem(30);
        direction: rtl;
        option {
          direction: ltr;
        }
      }
      select, input {
        height: 100%;
        flex: 1;
        text-align: right;
        appearance: none;
        border: none;
        @include font-dpr(30px);
        color: color($h5, c2);
        background-color: transparent;
      }
    }
  }
  .content {
    h2 {
      height: pxTorem(88);
      padding: 0 pxTorem(30);
      @include font-dpr(26px);
      color: color($h5, c4);
    }
    .add-sub-score {
      background-color: #fff;
      .item {
        height: pxTorem(100);
        padding: 0 pxTorem(30);
        i {
          //display: inline-block;
          width: pxTorem(36);
          height: pxTorem(36);
          border: 1px solid color($h5, c5);
          border-radius: 2px;
        }
        .score-text {
          @include font-dpr(26px);
          color: color($h5, c4);
        }
        .checked {
          position: relative;
          background-color: #221814;
          border: 1px solid #221814;
          &:before {
            content: '';
            width: 10px;
            height: 4px;
            background: transparent;
            border: 2px solid #fff;
            border-top: none;
            border-right: none;
            transform: rotate(-45deg);
          }

        }
        .checkbox {
          //display: inline-block;
          margin-left: pxTorem(80);
        }
      }
    }
  }
  .bottom-btn-wrap {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: pxTorem(128);
    padding: 0 pxTorem(15);
    background-color: #fff;
    .btn {
      flex: 1;
      height: pxTorem(88);
      margin: 0 pxTorem(15);
      line-height: pxTorem(88);
      text-align: center;
      font-size: standard($f, f3);
      border-radius: pxTorem(4);
    }
    .left-btn {
      border: 1px solid #221814;
      color: #221814;
    }
    .right-btn {
      display: inline-block;
      color: #fff;
      background-color: #221814;
    }
  }
}
